package com.java.control.search;

import java.util.ArrayList;
import java.util.List;

public class ConditionPart {
	private String expression=null;
	private List<Object> params=new ArrayList<Object>();
	private String orderByExpression = "";//排序字段，自动添加order by 语句\
	

	public String getExpression() {
		return expression;
	}
	public void setExpression(String expression) {
		this.expression = expression;
	}

	public List<Object> getParams() {
		return params;
	}

	public void setParams(List<Object> params) {
		this.params = params;
	}

	public void setOrderByExpression(String orderByExpression) {
		this.orderByExpression = " order by "+ orderByExpression;
	}
	
}
